package org.mzy.serve.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.mzy.basic.domain.BaseDomain;
import org.mzy.org.domain.Employee;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author mzy
 * @since 2022-11-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductOnlineAuditLog extends BaseDomain {


    /**
     * 消息id
     */
    private Long productId;
    /**
     * 状态 0失败 1成功
     */
    private Integer state;
    /**
     * 审核人 如果为null系统审核
     */
    private Long auditId;
    /**
     * 审核时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date auditTime;
    /**
     * 备注
     */
    private String note;
    private Product product;
    private Employee employee;
}

